var myRoute = angular.module('myRoute',[]);

myRoute.config(function($stateProvider,$urlRouterProvider){
    $stateProvider
        .state('index',{
            url:'',
            templateUrl:'./views/home.html'
        })
        .state('home',{
            url:'/home',
            templateUrl:'./views/home.html'
        })
        .state('electrocardio',{
            url:'/electrocardio',
            template:'electrocardio'
        })
        .state('temperature',{
            url:'/temperature',
            templateUrl:'./views/temperature.html'
        })
        .state('bloodPressure',{
            url:'/bloodPressure',
            templateUrl:'./views/bloodPressure.html'
        })
        .state('ecg',{
            url:'/ecg',
            templateUrl:'./views/ecg.html'
        })
})